<?php
$stats = $variables['stats'];
$path = drupal_get_path('module', 'shusy_stats');
drupal_add_css($path . '/css/shusy_stats.css');
?>
<div class="container-fluid">
  <div class="row">
    <div class="col-xs-12">
      <div class="date">
        日期:<?php echo $stats['date']; ?>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-xs-6">
      <div class="stats">
        <?php echo $stats['orders']; ?>
      </div>
      <div class="type">
        支付订单数
      </div>
    </div>
    <div class="col-xs-6">
      <div class="stats">
        <?php echo $stats['amounts']; ?>
      </div>
      <div class="type">
        总业绩
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-xs-4">
      <div class="stats">
        <?php echo $stats['uids']; ?>
      </div>
      <div class="type">
        访问量
      </div>
    </div>
    <div class="col-xs-4">
      <div class="stats">
        <?php echo $stats['pays']; ?>
      </div>
      <div class="type">
        下单量
      </div>
    </div>
    <div class="col-xs-4">
      <div class="stats">
        <?php echo $stats['views']; ?>
      </div>
      <div class="type">
        浏览量
      </div>
    </div>
  </div>
</div>
